{{include file='layout/header.tpl'}}

{{include file='parts/page.tpl'
  page=$_param.get.p|default:1
  query='r'
  limit=$data.list_count->_limit|default:0
  count=$data.list_count->_count|default:0
}}
<table class="table_edit">
<thead>
<tr>
<th>{{include file='form/list.order.tpl'
  label=$smarty.config.publish_date
  name='publish_date'
}}</th>
<th>{{include file='form/list.order.tpl'
  label=$smarty.config.note
  name='note'
}}</th>
<th>{{include file='form/list.order.tpl'
  label=$smarty.config.editor
  name='_member_name'
}}</th>
</tr>
</thead>
{{foreach $data.list as $v}}
<tr>
<td>{{$v->publish_date->format('Y-m-d H:i:s')}}</td>
<td>
{{if $v->_mode eq 'link'}}
<a href="{{$_param.edit}}hito/same/{{$v->post_id}}">{{$v->note}}</a>
{{else}}
<a href="{{$_param.edit}}hito/history/{{$v->post_id}}/{{$v->history_id}}">{{$v->note}}</a>
{{/if}}
</td>
<td><a href="{{$_param.edit}}member/{{$v->_member_id}}">{{$v->_member_name}}</a></td>
</tr>
{{/foreach}}
</table>

{{include file='parts/page.tpl'
  page=$_param.get.p|default:1
  query='r'
  limit=$data.list_count->_limit|default:0
  count=$data.list_count->_count|default:0
}}

{{include file='layout/footer.tpl'}}